WooCommerce\PayPalCommerce\WcGateway\Gateway\PayPalGateway S

Total Complexity 42
Dependencies 15
Dependents 20
Total lines 437
Lines of code 194
Logical lines of code 86
Comment lines 158
Methods 15
Properties 12

Methods 15

Method Rating Maintainability Complexity Lines of code
__construct()
A
42 8 54
capture_authorized_payment()
S
50 6 32
init_form_fields()
S
55 4 19
define_method_title()
S
62 4 12
define_method_description()
S
59 3 18
is_paypal_tab()
S
73 3 5
render_authorization_message_for_status()
S
60 2 13
is_credit_card_tab()
S
76 2 4
is_webhooks_tab()
S
76 2 4
process_refund()
S
67 2 7
update_option()
S
65 2 9
needs_setup()
S
81 1 3
generate_ppcp_html()
S
69 1 7
get_transaction_url()
S
75 1 4
environment()
S
82 1 3